const path = require('path');
const swig = require('swig');

module.exports = function setup(app) {
  swig.setDefaults({ cache: false });
  app.set('view engine', 'html');
  app.set('views', path.join(__dirname, '../../client/pages'));
  app.engine('html', swig.renderFile);
};
